package com.ktgj.customer.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 订单附加产品对象 travel_order_product
 * 
 * @author ruoyi
 * @date 2021-10-26
 */
public class OrderProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单附加产品表主键 */
    private Long orderProductId;

    /** 附加产品名称 */
    @Excel(name = "附加产品名称")
    private String productName;

    /** 订单表主键 */
    @Excel(name = "订单表主键")
    private Long orderId;

    /** 游客表主键 */
    @Excel(name = "游客表主键")
    private Long touristId;

    /** 产品表主键 */
    @Excel(name = "产品表主键")
    private Long productId;

    /** 销售价 */
    @Excel(name = "销售价")
    private BigDecimal salePrice;

    /** 结算价 */
    @Excel(name = "结算价")
    private BigDecimal costPrice;

    /** 0产品未生效，1产品已生效，2产品已退款 */
    @Excel(name = "0产品未生效，1产品已生效，2产品已退款")
    private String statusId;

    public void setOrderProductId(Long orderProductId) 
    {
        this.orderProductId = orderProductId;
    }

    public Long getOrderProductId() 
    {
        return orderProductId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setTouristId(Long touristId) 
    {
        this.touristId = touristId;
    }

    public Long getTouristId() 
    {
        return touristId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setSalePrice(BigDecimal salePrice) 
    {
        this.salePrice = salePrice;
    }

    public BigDecimal getSalePrice() 
    {
        return salePrice;
    }
    public void setCostPrice(BigDecimal costPrice) 
    {
        this.costPrice = costPrice;
    }

    public BigDecimal getCostPrice() 
    {
        return costPrice;
    }
    public void setStatusId(String statusId) 
    {
        this.statusId = statusId;
    }

    public String getStatusId() 
    {
        return statusId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderProductId", getOrderProductId())
            .append("productName", getProductName())
            .append("orderId", getOrderId())
            .append("touristId", getTouristId())
            .append("productId", getProductId())
            .append("salePrice", getSalePrice())
            .append("costPrice", getCostPrice())
            .append("statusId", getStatusId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
